package com.knowif.pojo;

import java.util.ArrayList;
import java.util.List;

public class UserEducationExperienceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserEducationExperienceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }
    

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 
     * 
     * @author wcyong
     * 
     * @date 2019-05-24
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
               return;
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCollegeIsNull() {
            addCriterion("college is null");
            return (Criteria) this;
        }

        public Criteria andCollegeIsNotNull() {
            addCriterion("college is not null");
            return (Criteria) this;
        }

        public Criteria andCollegeEqualTo(String value) {
            addCriterion("college =", value, "college");
            return (Criteria) this;
        }

        public Criteria andCollegeNotEqualTo(String value) {
            addCriterion("college <>", value, "college");
            return (Criteria) this;
        }

        public Criteria andCollegeGreaterThan(String value) {
            addCriterion("college >", value, "college");
            return (Criteria) this;
        }

        public Criteria andCollegeGreaterThanOrEqualTo(String value) {
            addCriterion("college >=", value, "college");
            return (Criteria) this;
        }

        public Criteria andCollegeLessThan(String value) {
            addCriterion("college <", value, "college");
            return (Criteria) this;
        }

        public Criteria andCollegeLessThanOrEqualTo(String value) {
            addCriterion("college <=", value, "college");
            return (Criteria) this;
        }

        public Criteria andCollegeLike(String value) {
            addCriterion("college like", value, "college");
            return (Criteria) this;
        }

        public Criteria andCollegeNotLike(String value) {
            addCriterion("college not like", value, "college");
            return (Criteria) this;
        }

        public Criteria andCollegeIn(List<String> values) {
            addCriterion("college in", values, "college");
            return (Criteria) this;
        }

        public Criteria andCollegeNotIn(List<String> values) {
            addCriterion("college not in", values, "college");
            return (Criteria) this;
        }

        public Criteria andCollegeBetween(String value1, String value2) {
            addCriterion("college between", value1, value2, "college");
            return (Criteria) this;
        }

        public Criteria andCollegeNotBetween(String value1, String value2) {
            addCriterion("college not between", value1, value2, "college");
            return (Criteria) this;
        }

        public Criteria andSchoolCityIsNull() {
            addCriterion("school_city is null");
            return (Criteria) this;
        }

        public Criteria andSchoolCityIsNotNull() {
            addCriterion("school_city is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolCityEqualTo(String value) {
            addCriterion("school_city =", value, "schoolCity");
            return (Criteria) this;
        }

        public Criteria andSchoolCityNotEqualTo(String value) {
            addCriterion("school_city <>", value, "schoolCity");
            return (Criteria) this;
        }

        public Criteria andSchoolCityGreaterThan(String value) {
            addCriterion("school_city >", value, "schoolCity");
            return (Criteria) this;
        }

        public Criteria andSchoolCityGreaterThanOrEqualTo(String value) {
            addCriterion("school_city >=", value, "schoolCity");
            return (Criteria) this;
        }

        public Criteria andSchoolCityLessThan(String value) {
            addCriterion("school_city <", value, "schoolCity");
            return (Criteria) this;
        }

        public Criteria andSchoolCityLessThanOrEqualTo(String value) {
            addCriterion("school_city <=", value, "schoolCity");
            return (Criteria) this;
        }

        public Criteria andSchoolCityLike(String value) {
            addCriterion("school_city like", value, "schoolCity");
            return (Criteria) this;
        }

        public Criteria andSchoolCityNotLike(String value) {
            addCriterion("school_city not like", value, "schoolCity");
            return (Criteria) this;
        }

        public Criteria andSchoolCityIn(List<String> values) {
            addCriterion("school_city in", values, "schoolCity");
            return (Criteria) this;
        }

        public Criteria andSchoolCityNotIn(List<String> values) {
            addCriterion("school_city not in", values, "schoolCity");
            return (Criteria) this;
        }

        public Criteria andSchoolCityBetween(String value1, String value2) {
            addCriterion("school_city between", value1, value2, "schoolCity");
            return (Criteria) this;
        }

        public Criteria andSchoolCityNotBetween(String value1, String value2) {
            addCriterion("school_city not between", value1, value2, "schoolCity");
            return (Criteria) this;
        }

        public Criteria andSchoolNameIsNull() {
            addCriterion("school_name is null");
            return (Criteria) this;
        }

        public Criteria andSchoolNameIsNotNull() {
            addCriterion("school_name is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolNameEqualTo(String value) {
            addCriterion("school_name =", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotEqualTo(String value) {
            addCriterion("school_name <>", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameGreaterThan(String value) {
            addCriterion("school_name >", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameGreaterThanOrEqualTo(String value) {
            addCriterion("school_name >=", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameLessThan(String value) {
            addCriterion("school_name <", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameLessThanOrEqualTo(String value) {
            addCriterion("school_name <=", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameLike(String value) {
            addCriterion("school_name like", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotLike(String value) {
            addCriterion("school_name not like", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameIn(List<String> values) {
            addCriterion("school_name in", values, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotIn(List<String> values) {
            addCriterion("school_name not in", values, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameBetween(String value1, String value2) {
            addCriterion("school_name between", value1, value2, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotBetween(String value1, String value2) {
            addCriterion("school_name not between", value1, value2, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolPicIsNull() {
            addCriterion("school_pic is null");
            return (Criteria) this;
        }

        public Criteria andSchoolPicIsNotNull() {
            addCriterion("school_pic is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolPicEqualTo(String value) {
            addCriterion("school_pic =", value, "schoolPic");
            return (Criteria) this;
        }

        public Criteria andSchoolPicNotEqualTo(String value) {
            addCriterion("school_pic <>", value, "schoolPic");
            return (Criteria) this;
        }

        public Criteria andSchoolPicGreaterThan(String value) {
            addCriterion("school_pic >", value, "schoolPic");
            return (Criteria) this;
        }

        public Criteria andSchoolPicGreaterThanOrEqualTo(String value) {
            addCriterion("school_pic >=", value, "schoolPic");
            return (Criteria) this;
        }

        public Criteria andSchoolPicLessThan(String value) {
            addCriterion("school_pic <", value, "schoolPic");
            return (Criteria) this;
        }

        public Criteria andSchoolPicLessThanOrEqualTo(String value) {
            addCriterion("school_pic <=", value, "schoolPic");
            return (Criteria) this;
        }

        public Criteria andSchoolPicLike(String value) {
            addCriterion("school_pic like", value, "schoolPic");
            return (Criteria) this;
        }

        public Criteria andSchoolPicNotLike(String value) {
            addCriterion("school_pic not like", value, "schoolPic");
            return (Criteria) this;
        }

        public Criteria andSchoolPicIn(List<String> values) {
            addCriterion("school_pic in", values, "schoolPic");
            return (Criteria) this;
        }

        public Criteria andSchoolPicNotIn(List<String> values) {
            addCriterion("school_pic not in", values, "schoolPic");
            return (Criteria) this;
        }

        public Criteria andSchoolPicBetween(String value1, String value2) {
            addCriterion("school_pic between", value1, value2, "schoolPic");
            return (Criteria) this;
        }

        public Criteria andSchoolPicNotBetween(String value1, String value2) {
            addCriterion("school_pic not between", value1, value2, "schoolPic");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameIsNull() {
            addCriterion("school_short_name is null");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameIsNotNull() {
            addCriterion("school_short_name is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameEqualTo(String value) {
            addCriterion("school_short_name =", value, "schoolShortName");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameNotEqualTo(String value) {
            addCriterion("school_short_name <>", value, "schoolShortName");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameGreaterThan(String value) {
            addCriterion("school_short_name >", value, "schoolShortName");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameGreaterThanOrEqualTo(String value) {
            addCriterion("school_short_name >=", value, "schoolShortName");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameLessThan(String value) {
            addCriterion("school_short_name <", value, "schoolShortName");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameLessThanOrEqualTo(String value) {
            addCriterion("school_short_name <=", value, "schoolShortName");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameLike(String value) {
            addCriterion("school_short_name like", value, "schoolShortName");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameNotLike(String value) {
            addCriterion("school_short_name not like", value, "schoolShortName");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameIn(List<String> values) {
            addCriterion("school_short_name in", values, "schoolShortName");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameNotIn(List<String> values) {
            addCriterion("school_short_name not in", values, "schoolShortName");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameBetween(String value1, String value2) {
            addCriterion("school_short_name between", value1, value2, "schoolShortName");
            return (Criteria) this;
        }

        public Criteria andSchoolShortNameNotBetween(String value1, String value2) {
            addCriterion("school_short_name not between", value1, value2, "schoolShortName");
            return (Criteria) this;
        }

        public Criteria andSubjectIsNull() {
            addCriterion("subject is null");
            return (Criteria) this;
        }

        public Criteria andSubjectIsNotNull() {
            addCriterion("subject is not null");
            return (Criteria) this;
        }

        public Criteria andSubjectEqualTo(String value) {
            addCriterion("subject =", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotEqualTo(String value) {
            addCriterion("subject <>", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectGreaterThan(String value) {
            addCriterion("subject >", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectGreaterThanOrEqualTo(String value) {
            addCriterion("subject >=", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLessThan(String value) {
            addCriterion("subject <", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLessThanOrEqualTo(String value) {
            addCriterion("subject <=", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLike(String value) {
            addCriterion("subject like", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotLike(String value) {
            addCriterion("subject not like", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectIn(List<String> values) {
            addCriterion("subject in", values, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotIn(List<String> values) {
            addCriterion("subject not in", values, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectBetween(String value1, String value2) {
            addCriterion("subject between", value1, value2, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotBetween(String value1, String value2) {
            addCriterion("subject not between", value1, value2, "subject");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdIsNull() {
            addCriterion("user_info_id is null");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdIsNotNull() {
            addCriterion("user_info_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdEqualTo(Integer value) {
            addCriterion("user_info_id =", value, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdNotEqualTo(Integer value) {
            addCriterion("user_info_id <>", value, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdGreaterThan(Integer value) {
            addCriterion("user_info_id >", value, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_info_id >=", value, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdLessThan(Integer value) {
            addCriterion("user_info_id <", value, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_info_id <=", value, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdIn(List<Integer> values) {
            addCriterion("user_info_id in", values, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdNotIn(List<Integer> values) {
            addCriterion("user_info_id not in", values, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdBetween(Integer value1, Integer value2) {
            addCriterion("user_info_id between", value1, value2, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andUserInfoIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_info_id not between", value1, value2, "userInfoId");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelIsNull() {
            addCriterion("academic_level is null");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelIsNotNull() {
            addCriterion("academic_level is not null");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelEqualTo(String value) {
            addCriterion("academic_level =", value, "academicLevel");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelNotEqualTo(String value) {
            addCriterion("academic_level <>", value, "academicLevel");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelGreaterThan(String value) {
            addCriterion("academic_level >", value, "academicLevel");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelGreaterThanOrEqualTo(String value) {
            addCriterion("academic_level >=", value, "academicLevel");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelLessThan(String value) {
            addCriterion("academic_level <", value, "academicLevel");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelLessThanOrEqualTo(String value) {
            addCriterion("academic_level <=", value, "academicLevel");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelLike(String value) {
            addCriterion("academic_level like", value, "academicLevel");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelNotLike(String value) {
            addCriterion("academic_level not like", value, "academicLevel");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelIn(List<String> values) {
            addCriterion("academic_level in", values, "academicLevel");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelNotIn(List<String> values) {
            addCriterion("academic_level not in", values, "academicLevel");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelBetween(String value1, String value2) {
            addCriterion("academic_level between", value1, value2, "academicLevel");
            return (Criteria) this;
        }

        public Criteria andAcademicLevelNotBetween(String value1, String value2) {
            addCriterion("academic_level not between", value1, value2, "academicLevel");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }
    
    
    

    /**
     * 
     * 
     * @author wcyong
     * 
     * @date 2019-05-24
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}